projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96f5c4b
)
arm/km: speed up i2c access for keymile boards
author
Holger Brunck
<
[email protected]
>
Wed, 14 Dec 2011 05:31:19 +0000
(
05:31
+0000)
committer
Albert ARIBAUD
<
[email protected]
>
Sun, 12 Feb 2012 09:11:28 +0000
(10:11 +0100)
We don't need 3us delay for our i2c bus. Decrease it to 1us.
It would also be possible to use 100ns in the future, but
currently kirkwood has no ndelay implementation.
Signed-off-by: Holger Brunck <
[email protected]
>
Cc: Valentin Longchamp <
[email protected]
>
Cc: Prafulla Wadaskar <
[email protected]
>
Cc: Heiko Schocher <
[email protected]
>
Acked-by: Heiko Schocher <
[email protected]
>
include/configs/km/km_arm.h
patch
|
blob
|
history
diff --git
a/include/configs/km/km_arm.h
b/include/configs/km/km_arm.h
index 9c8d222c2fe28bbd52f144f362b52cc3410329dd..c73a10c667d0cbd95c47db4d9dfc1c803bd36aa8 100644
(file)
--- a/
include/configs/km/km_arm.h
+++ b/
include/configs/km/km_arm.h
@@
-194,7
+194,7
@@
int get_scl(void);
#define I2C_SCL(bit) kw_gpio_set_value(KM_KIRKWOOD_SCL_PIN, bit)
#endif
-#define I2C_DELAY udelay(
3) /* 1/4 I2C clock duration */
+#define I2C_DELAY udelay(
1)
#define I2C_SOFT_DECLARATIONS
#endif